// 分会资讯api
import http from '../../config';
var querystring = require('querystring');
export default {
    // 获取分页
    getBranchNewsPage(params) {
        return http.get(
            '/api/getBranchNewsPage', {
            'params': params
        }
        );
    },
    //详情
    getBranchNews(params) {
        return http.get(
            '/api/getBranchNews', {
            'params': params
        }
        );
    },
    // 添加
    addBranchNews(params) {
        return http.post(
            '/api/addBranchNews', params
        );
    },
    //编辑
    modifyBranchNews(params) {
        return http.post(
            '/api/modifyBranchNews', params
        );
    },
    //撤回
    revokeBranchNews(params) {
        return http.post(
            '/api/revokeBranchNews', params
        );
    },
    //删除
    deleteBranchNews(params) {
        return http.post(
            '/api/deleteBranchNews', params
        );
    },
}